Blogger Template: How is inline style tag getting attached to img? [migrated]
Posted
by
john Smith
on Pro Webmasters
See other posts from Pro Webmasters
or by john Smith
Published on 2013-11-10T02:55:14Z
Indexed on
2013/11/10
4:14 UTC
Read the original article
Hit count: 291
Examining a blogger template's img tag (data:post.thumbnailUrl) i've approached a mystery.
An inline style tag controlling the width, margin and heigh perimeters are getting added to my img element.
They are auto adjusting the images ratio to fit a smaller size.
But I can't figure-out where this style tag script lives and how it's happening in my template. My template has no special javascript or jquery scripts.
The full size images in the single posts page don't have this style tag.
Is this a css or xml feature?
element.style {
margin-top: 0px;
width: 301.0033444816054px;
height: 200px;
margin-left: -0.5016722408026908px;
}
© Pro Webmasters or respective owner